package com.neuedu.ChinaCityDataApi.controller;

import com.neuedu.ChinaCityDataApi.pojo.Avgwage_Depbalance_Ral;
import com.neuedu.ChinaCityDataApi.service.Avgwage_Depbalance_RalService;
import com.neuedu.ChinaCityDataApi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Avgwage_Depbalance_RalController {
    @Autowired
    private Avgwage_Depbalance_RalService avgwage_depbalance_ralService;
    @GetMapping("/queryAllavgwage_Depbalance_Ral")
    public ResponseResult<List<Avgwage_Depbalance_Ral>> queryAllavgwage_Depbalance_Ral(){
        List<Avgwage_Depbalance_Ral> avgwage_depbalance_rals = avgwage_depbalance_ralService.queryAllavgwage_Depbalance_Ral();
        return new ResponseResult<>("200","查询成功",avgwage_depbalance_rals);
    }
}
